package com.wisdytech.linkdcs.equipLifeCycle.maintain.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-06-19
 */
@TableName("TT_EQ_MAINTENANCE_DETAIL")
public class MaintenanceDetail extends Model<MaintenanceDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 保养记录id
     */
    @TableField("RECORD_ID")
    private String recordId;
    /**
     * 保养项编码
     */
    @TableField("ITEM_ID")
    private String itemId;
    /**
     *保养结果
     */
    @TableField("MAINTENANCE_RESULT")
    private String maintenanceResult;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getMaintenanceResult() {
        return maintenanceResult;
    }

    public void setMaintenanceResult(String maintenanceResult) {
        this.maintenanceResult = maintenanceResult;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

}
